package cn.tedu.xmfhlittlebird.service;

import cn.tedu.xmfhlittlebird.pojo.dto.CouponIssueAddNewDTO;
import cn.tedu.xmfhlittlebird.pojo.dto.CouponIssueUpdateDTO;
import cn.tedu.xmfhlittlebird.pojo.vo.StoreCouponIssueListItemVO;
import cn.tedu.xmfhlittlebird.pojo.vo.StoreCouponIssueStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ICouponIssueService {
    void addNew(CouponIssueAddNewDTO couponIssueAddNewDTO);

    void deleteById(Long id);

    void updateById(Long id, CouponIssueUpdateDTO couponIssueUpdateDTO);

    void setPermanent(Long id);

    void setTemporary(Long id);

    StoreCouponIssueStandardVO getStandardById(Long id);

    List<StoreCouponIssueListItemVO> list();


}
